package com.azzcs.catalina;

import com.azzcs.catalina.pipeline.Pipeline;

import java.util.List;

/**
 * @Author: wzg
 * @Date: 2021/1/9 上午8:48
 */
public interface Container {
    Pipeline getPipeline();
    String getName();
    void setName(String name);
    Container getParent();
    void setParent(Container container);
    void addChild(Container child);
    Container findChild(String name);
    List<Container> findChildren();
    void removeChild(Container child);
}
